package com.bjx.flow.mmx.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 流程任务数据实体
 * @author: liushuai
 * @date: 2023/05/22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("mmx_flow_task")
@Schema(title = "FlowTask",description = "流程任务")
public class MmxFlowTaskEntity {
      /**
      * 任务Id
      */
      @Schema(title = "taskId",description = "任务Id")
      private  Long taskId; 
      
      /**
      * 实例名称
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "instanceName",description = "实例名称")
      private  String instanceName; 
      
      /**
      * 实例Id
      */
      @Schema(title = "instanceId",description = "实例Id")
      private  Long instanceId; 
      
      /**
      * 节点Id
      */
      @Schema(title = "nodeId",description = "节点Id")
      private  String nodeId; 
      
      /**
      * 分支Id
      */
      @Schema(title = "branchId",description = "分支Id")
      private  Long branchId;
      
      /**
      * 节点名称
      */
      @Schema(title = "nodeName",description = "节点名称")
      private  String nodeName; 
      
      /**
      * 业务Id
      */
      @Schema(title = "businessId",description = "业务Id")
      private  String businessId; 
      
      /**
      * 处理人
      */
      @Schema(title = "assignee",description = "处理人")
      private  String assignee; 
      
      /**
      * 扩展字段1
      */
      @Schema(title = "ext1",description = "扩展字段1")
      private  String ext1; 
      
      /**
      * 扩展字段2
      */
      @Schema(title = "ext2",description = "扩展字段2")
      private  String ext2; 
      
      /**
      * 扩展字段3
      */
      @Schema(title = "ext3",description = "扩展字段3")
      private  String ext3; 
      
      /**
      * 扩展字段4
      */
      @Schema(title = "ext4",description = "扩展字段4")
      private  Long ext4; 
      
      /**
      * 扩展字段5
      */
      @Schema(title = "ext5",description = "扩展字段5")
      private  Long ext5; 
      
      /**
      * 扩展字段6
      */
      @Schema(title = "ext6",description = "扩展字段6")
      private  Long ext6;


      /**
       *  任务状态
       */
      @Schema(title = "status",description = "任务状态")
      private Integer status;

      /**
       *  汇集数据
       */
      @Schema(title = "infoData",description = "汇集数据")
      private String infoData;

      
}